home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 376-400 / disk_386 / xlispstat / src1.lzh / Headers / iviewfun.h < prev    next >
C/C++ Source or Header  |  1990-10-08  |  16KB  |  571 lines

  1. #ifndef IVIEWEXT_H
  2. #define IVIEWEXT_H
  3.  
  4. /* dialog.c */
  5. extern int check_point_list();
  6. extern Point ListToPoint();
  7. extern LVAL PointToList();
  8. extern int dialog_p(),
  9.   xsgetdialog(),
  10.   xsdialog_isnew(),
  11.   xsdialog_allocate(),
  12.   xsdialog_remove(),
  13.   xsdialog_allocated_p(),
  14.   xsdialog_default_button(),
  15.   xsdialog_modal();
  16. extern int dialog_item_p();
  17. extern LVAL xsgetdialogitem(),
  18.   xsdialog_item_do_action(),
  19.   xsdialog_item_action();
  20. extern int button_item_p();
  21. extern LVAL xsgetbuttonitem(),
  22.   xsbutton_item_isnew();
  23. extern int toggle_item_p();
  24. extern LVAL xsgettoggleitem(),
  25.   xstoggle_item_isnew(),
  26.   xstoggle_item_value();
  27. extern int text_item_p();
  28. extern LVAL xsgettextitem(),
  29.   xstext_item_isnew(),
  30.   xstext_item_text();
  31. extern int choice_item_p();
  32. extern LVAL xsgetchoiceitem(),
  33.   xschoice_item_isnew(),
  34.   xschoice_item_value();
  35. extern int scroll_item_p();
  36. extern LVAL xsgetscrollitem(),
  37.   xsscroll_item_isnew(),
  38.   xsscroll_item_value(),
  39.   xsscroll_item_max(),
  40.   xsscroll_item_min(),
  41.   xsscroll_item_action();
  42. extern int list_item_p();
  43. extern LVAL xsgetlistitem(),
  44.   xslist_item_isnew(),
  45.   xslist_item_action(),
  46.   xslist_item_text(),
  47.   xslist_item_selection();
  48.  
  49. /* hardwareobjects.c */
  50. extern void standard_hardware_clobber();
  51. extern LVAL get_hardware_object_by_address();
  52. extern int valid_window_address();
  53. extern void set_window_address();
  54. extern IVIEW_WINDOW GETWINDOWADDRESS();
  55. extern int valid_iview_window_address();
  56. extern void set_iview_window_address();
  57. extern IVIEW_WINDOW GETIVIEWWINDOWADDRESS();
  58. extern int valid_iview_address();
  59. extern void set_iview_address();
  60. extern IVIEW_WINDOW get_iview_address(),
  61.   GETIVIEWADDRESS();
  62. extern int valid_menu_address();
  63. extern void set_menu_address();
  64.   *get_menu_address();
  65. #ifdef MACINTOSH
  66. extern int valid_apple_menu_address();
  67. extern void set_apple_menu_address();
  68. extern char *get_apple_menu_address();
  69. #endif MACINTOSH
  70. extern int valid_dialog_address();
  71. extern void set_dialog_address();
  72. extern IVIEW_WINDOW GETDIALOGADDRESS();
  73. #ifdef MACINTOSH
  74. extern int valid_edit_window_address();
  75. extern void set_edit_window_address();
  76. extern char *get_edit_window_address();
  77. extern int valid_display_window_address();
  78. extern void set_dislay_window_address();
  79. extern char *get_display_window_address();
  80. #endif MACINTOSH
  81.  
  82. /* iview.c */
  83. extern void IViewSetRange(),
  84.   IViewGetRange();
  85. extern double IViewEncodeValue(),
  86.   IViewDecodeValue();
  87. extern void IviewSetPointState(),
  88.   IViewDrawDataPoints(),
  89.   IViewDrawDataLines(),
  90. #ifdef USESTRINGS
  91.   IViewDrawDataStrings(),
  92. #endif USESTRINGS
  93.   IViewDepthCuePoints(),
  94.   IViewStdResize(),
  95.   IViewStdRedraw(),
  96.   IViewStdRedrawBackground(),
  97.   IViewGetContentMarginRect(),
  98.   IViewStdRedrawContent(),
  99.   IViewStdMarkPointsInRect(),
  100.   IViewStdAdjustScreen(),
  101.   IViewStdAdjustPointsInRect(),
  102.   IViewStdAdjustScreenPoint(),
  103.   IViewRotate2(),
  104.   GetNiceRange();
  105.  
  106. /* iviewdata.c */
  107. extern IViewDATA IViewDataNew();
  108. extern void IViewDataFree();
  109. extern IViewBasicPoints IViewDataPoints(),
  110.   IViewDataLines();
  111. #ifdef USESTRINGS
  112. extern IViewBasicPoints IViewDataStrings();
  113. #endif USESTRINGS
  114. extern int IViewDataNumVariables();
  115. extern void IViewDataSetVariableLabel();
  116. extern char *IViewDataVariableLabel();
  117. extern void IViewDataSetRange(),
  118.   IViewDataGetRange(),
  119.   IViewDataSetScreenRange(),
  120.   IViewDataGetScreenRange(),
  121.   IViewDataSetIdentityTransformation(),
  122.   IViewDataSetTransformation();
  123. extern double **IViewDataTransformation();
  124. extern void IViewDataApplyTransformation();
  125. extern int IViewDataIsTransformed();
  126. extern void IViewDataAddPoints(),
  127.   IViewDataClearPoints();
  128. extern int IViewDataNumPoints();
  129. extern void IViewDataSetPointValue();
  130. extern double IViewDataPointValue(),
  131.   IViewDataPointTransformed();
  132. extern int IViewDataPointScreenValue();
  133. extern void IViewDatGetScreenPointValue(),
  134.   IViewDataSetPointMask();
  135. extern int IViewDataPointMasked();
  136. extern void IViewDSataSetPointColor();
  137. extern ColorCode IViewDataPointColor();
  138. extern void IViewDataSetPointState();
  139. extern PointState IViewDataPointState();
  140. extern void IViewDataSetPointScreenState();
  141. extern PointState IViewDataPointScreenState();
  142. extern void IViewDataResetScreenStates(),
  143.   IViewDataSetPointMark();
  144. extern int IViewDataPointMarked();
  145. extern void IViewDataClearPointMarks(),
  146.   IViewDataSetPointLabel();
  147. extern char *IViewDataPointLabel();
  148. extern void IViewDataSetPointSymbol(),
  149.   IViewDataGetPointSymbol();
  150. extern int IViewDataNumLines();
  151. extern void IViewDataAddLines();
  152.   IViewDataClearLines(),
  153.   IViewDataSetLineValue();
  154. extern double IViewDataLineValue(),
  155.   IViewDatLineTransformedValue();
  156. extern int IViewDataLineScreenValue();
  157. extern void IViewDataSetLineMask();
  158. extern int IViewDataLineMasked();
  159. extern void IViewDataSetLineColor();
  160. extern ColorCode IViewDataLineColor();
  161. extern void IViewDataSetLineWidth();
  162. extern int IViewDataGetLineWidth();
  163. extern void IViewDataSetNextLine();
  164. extern int IViewDataNextLine();
  165. extern void IViewDataSetLineType();
  166. extern int IViewDataLineType();
  167. #ifdef USESTRINGS
  168. extern int IViewDataNumStrings();
  169. extern void IViewDataAddStrings(),
  170.   IViewDataClearStrings(),
  171.   IViewDataSetStringValue();
  172. extern double IViewDataStringValue(),
  173.   IViewDSataStringTransformedValue();
  174. extern int IViewDataStringScreenValue();
  175. extern void IViewDataSetStringMask();
  176. extern int IViewDataStringMasked();
  177. extern void IViewDataSetStringColor();
  178. extern ColorCode IViewDataStringColor();
  179. extern void IViewDataSetStringString();
  180. extern char *IViewDataStringString();
  181. extern void IViewDataSetStringModifiers(),
  182.   IViewDataGetStringModifiers();
  183. #endif USESTRINGS
  184. extern void IViewDataDrawPoints(),
  185.   IViewDataCuePoints();
  186.  
  187. /* iviewinternal.c */
  188. extern void IViewFreeMem();
  189. extern IVIEW_WINDOW IViewNew();
  190. extern void IViewSetMouseMode();
  191. extern MouseMode IViewMouseMode();
  192. extern void IViewSetShowingLabels();
  193. extern int IViewShowingLabels();
  194. extern void IViewSetData();
  195. extern IViewDATA IViewData();
  196. extern void IViewSetFixedAspect();
  197. extern int IViewFixedAspect();
  198. extern void IViewSetScale();
  199. extern double IViewScale();
  200. extern void IViewSetShift();
  201. extern double IViewShift();
  202. extern void IViewGetAxisMargin(),
  203.   IViewSetXaxis(),
  204.   IViewGetXaxis(),
  205.   IViewSetYaxis(),
  206.   IViewGetYaxis(),
  207.   IViewDrawAxes(),
  208.   IViewSetBrush(),
  209.   IViewGetBrush(),
  210.   IViewEraseBrush(),
  211.   IViewDrawBrush(),
  212.   IViewMoveBrush(),
  213.   IViewStdSelectingMouseAction(),
  214.   IViewStdBrushingMouseAction(),
  215.   IViewStdMouseAction(),
  216.   IViewStdUnselectAllPoints(),
  217.   IViewEraseSelection(),
  218.   IViewMaskSelection(),
  219.   IViewUnmaskAllPoints(),
  220.   IViewShowAllPoints();
  221. extern int IViewAllPointsShowing(),
  222.   IViewAllPointsUnmasked(),
  223.   IViewAllPointsSelected();
  224. #ifdef OLDLINKS
  225. extern int IViewInternalIsLinked();
  226. extern void IViewLinkWindow(),
  227.   IViewUnlinkWindow(),
  228.   IViewUnlinkALlWindows(),
  229.   IViewMatchPointState(),
  230.   IViewAdjustScreens();
  231. extern int IViewIsLinked();
  232. #else
  233. extern void IViewSetLinks();
  234. extern long IViewGetLinks();
  235. extern int IViewIsLinked();
  236. #endif OLDLINKS
  237.  
  238. /* iviewscale.c */
  239. extern void IViewGetVisibleRange(),
  240.   IViewScaleToRange(),
  241.   IViewApplyScaleShift();
  242.  
  243. /* menus.c */
  244. extern int menu_p();
  245. extern LVAL xsgetmenu(),
  246.   xsmenu_isnew(),
  247.   xsallocate_menu(),
  248.   xsdispose_menu(),
  249.   xsallocated_p(),
  250.   xsmenu_items(0,
  251.   xsinstall_menu(0,
  252.   xsremove_menu(),
  253.   xsinstalled_p(),
  254.   xsmenu_enabled(),
  255.   xsappend_items(),
  256.   xsdelete_items(),
  257.   xsmenu_select(),
  258.   xsmenu_title(),
  259.   xsmenu_popup();
  260. extern int menu_item_p();
  261. extern LVAL xsgetmenuitem(),
  262.   xsitem_isnew(),
  263.   xsitem_title(),
  264.   xsitem_key(),
  265.   xsitem_mark(),
  266.   xsitem_style(),
  267.   xsitem_action(),
  268.   xsitem_enabled(),
  269.   xsitem_intstalled_p(),
  270.   xsitem_do_action();
  271.  
  272. /* xsgraphics.c */
  273. #ifdef MACINTOSH
  274. extern LVAL iview_window_copy_to_clip();
  275. #endif MACINTOSH
  276. extern LVAL iview_visible_range(),
  277.   iview_scale_to_range(),
  278.   iview_scale(),
  279.   iview_shift(),
  280.   iview_clear_masks(),
  281.   iview_slice_variable(), 
  282.   iview_real_to_screen(),
  283.   iview_scaled_to_screen(),
  284.   iview_screen_to_real(),
  285.   iview_screen_to_scaled(),
  286.   iview_points_in_rect(),
  287.   iview_window_drag_grey_rect(),
  288.   iview_point_showing(),
  289.   iview_point_hilited(),
  290.   iview_point_selected();
  291.  
  292. /* xshistogram.c */
  293. extern void newhistinternals();
  294. extern LVAL iview_hist_isnew(),
  295.   iview_hist_allocate(),
  296.   iview_hist_num_bins(),
  297.   iview_hist_bin_counts(),
  298.   iview_hist_add_points(),
  299.   iview_hist_clear_points(),
  300.   iview_hist_resize(), 
  301.   iview_hist_redraw_content(),
  302.   iview_hist_adjust_to_data(),
  303.   iview_hist_adjust_screen(),
  304.   iview_hist_adjust_points_in_rect(),
  305.   iview_hist_mark_points_in_rect(),
  306.   iview_hist_adjust_screen_point();
  307.  
  308. /* xsiview.c */
  309. extern void internal_ivew_add_points();
  310. extern LVAL iview_add_points(),
  311.   iview_clear_points();
  312. extern void internal_iview_add_lines();
  313. extern LVAL iview_add_lines(),
  314.   iview_clear_lines();
  315. #ifdef USESTRINGS
  316. extern void internal_iview_add_strings();
  317. extern LVAL iview_add_strings(),
  318.   iview_clear_strings();
  319. #endif USESTRINGS
  320. extern LVAL iview_std_resize(),
  321.   iview_std_redraw(),
  322.   iview_std_redraw_background(),
  323.   iview_std_redraw_content();
  324. extern void IViewRedrawBackground(),
  325.   IViewRedrawContent(),
  326.   IViewRedrawOverlays(),
  327.   IViewResizeOverlays(),
  328.   check_add_to_screen(),
  329.   check_redraw();
  330. extern int draw_key_arg();
  331.  
  332. /* xsiview2.c */
  333. extern LVAL iview_num_variables(),
  334.   iview_num_points(),
  335.   iview_point_coordinate(),
  336.   iview_point_screen_coordinate(),
  337.   iview_point_transformed_coordinate(),
  338.   iview_point_masked(),
  339.   iview_point_color(),
  340.   iview_point_state(),
  341.   iview_point_screen_state(),
  342.   iview_point_marked(),
  343.   iview_point_label(),
  344.   iview_point_symbol(),
  345.   iview_num_lines(),
  346.   iview_line_coordinate(),
  347.   iview_line_screen_coordinate(),
  348.   iview_line_transformed_coordinate(),
  349.   iview_line_masked(),
  350.   iview_line_color(),
  351.   iview_line_next(),
  352.   iview_line_type(),
  353.   iview_line_width();
  354. #ifdef USESTRINGS
  355. extern LVAL iview_num_strings(),
  356.   iview_string_coordinate(),
  357.   iview_string_screen_coordinate(),
  358.   iview_string_transformed_coordinate(),
  359.   iview_string_masked(),
  360.   iview_string_color(),
  361.   iview_string_modifiers();
  362. #endif /* USESTRINGS */
  363.  
  364. /* xsiview3.c */
  365. extern LVAL iview_variable_label(),
  366.   iview_range(),
  367.   iview_scaled_range(),
  368.   iview_screen_range(),
  369.   iview_transformation(),
  370.   iview_apply_transformation(),
  371.   iview_draw_data_points(),
  372.   iview_draw_data_lines(),
  373. #ifdef USESTRINGS
  374.   iview_draw_data_strings(),
  375. #endif /* USESTRINGS */
  376.   iview_std_mark_points_in_rect(),
  377.   iview_std_adjust_screen();
  378. extern PointState decode_point_state();
  379. extern LVAL iview_std_adjust_points_in_rect(),
  380.   iview_std_adjust_screen_point(),
  381.   iview_rotate_2(),
  382.   iview_get_nice_range(),
  383.   iview_adjust_depth_cuing();
  384.  
  385. /* xsiviewintrn.c */
  386. extern LVAL iview_isnew();
  387. extern void initialize_graph();
  388. extern LVAL iview_allocate();
  389. extern void get_iview_keys(object),
  390.   IViewAdjustOwnScreen(),
  391.   IViewMarkPointsInRect();
  392. extern LVAL encode_point_state();
  393. extern void IViewAdjustPointsInRect(),
  394.   IViewAdjustOwnScreenPoint(),
  395.   IViewUnselectAllPoints(),
  396.   initialize_iview(),
  397.   get_iview_ivars();
  398. extern LVAL iview_window_show_window(),
  399.   iview_content_rect(),
  400.   iview_content_origin(),
  401.   iview_content_variables(),
  402.   iview_click_range(),
  403.   iview_mouse_mode(),
  404.   iview_showing_labels(),
  405.   iview_margin(),
  406.   iview_fixed_aspect(),
  407.   iview_dirty(),
  408.   iview_x_axis(),
  409.   iview_y_axis(),
  410.   iview_brush(),
  411.   iview_erase_brush(),
  412.   iview_draw_brush(),
  413.   iview_move_brush(),
  414.   iview_resize_brush(); 
  415. extern void IViewDoClick(),
  416.   IViewDoMotion();
  417. extern LVAL iview_do_click(),
  418.   iview_do_motion(),
  419.   iview_std_click(),
  420.   iview_std_motion(),
  421.   iview_unselect_all_points(),
  422.   iview_erase_selection(),
  423.   iview_mask_selection(),
  424.   iview_unmask_all_points(),
  425.   iview_show_all_points(),
  426.   iview_all_points_showing(),
  427.   iview_all_points_unmasked(),
  428.   iview_any_points_selected();
  429. #ifdef OLDLINKS
  430. extern LVAL iview_linked(), iview_unlink_all_windows();
  431. #else
  432. extern int IViewInternalIsLinked();
  433. extern LVAL iview_linked(),
  434.   iview_links();
  435. extern void IViewUnlinkWindow();
  436. extern LVAL iview_unlink_all_windows();
  437. extern void IViewMatchPointState(),
  438.   IViewAdjustScreens(),
  439.   IViewCheckLinks();
  440. #endif OLDLINKS
  441.  
  442. /* xsiviewwindow.c */
  443. extern LVAL iview_window_isnew(),
  444.   iview_window_allocate();
  445. extern void void StGWGetAllocInfo(),
  446.   StGWObDoClobber(),
  447.   StGWObResize(),
  448.   StGWObRedraw(),
  449.   StGWObDoIdle(),
  450.   StGWObDoMouse(),
  451.   StGWObDoKey();
  452. extern StGWWinInfo *StGWObWinInfo();
  453. extern void initialize_graph_window();
  454. extern LVAL xsiview_window_update(),
  455.   xsiview_window_activate();
  456.   iview_window_idle_on();
  457.   iview_window_menu();
  458.  
  459. /* xsiviewwindow2.c */
  460. extern LVAL iview_window_remove(),
  461.   iview_window_while_button_down();
  462. extern ColorCode decode_lisp_color();
  463. extern LVAL encode_lisp_color();
  464. extern LVAL iview_window_canvas_width(),
  465.   iview_window_canvas_height(),
  466.   iview_window_line_type(),
  467.   iview_window_draw_mode(),
  468.   iview_window_draw_color(),
  469.   iview_window_back_color(),
  470.   iview_window_use_color(),
  471.   iview_window_reverse_colors(),
  472.   iview_window_view_rect(),
  473.   iview_window_line_width();
  474.   iview_window_has_h_scroll(),
  475.   iview_window_has_v_scroll(),
  476.   iview_window_scroll(),
  477.   iview_window_h_scroll_incs(),
  478.   iview_window_v_scroll_incs(),
  479.   iview_window_draw_line(),
  480.   iview_window_draw_point(),
  481.   iview_window_erase_rect(),
  482.   iview_window_frame_rect(),
  483.   iview_window_paint_rect(),
  484.   iview_window_erase_oval(),
  485.   iview_window_frame_oval(),
  486.   iview_window_paint_oval(),
  487.   iview_window_erase_arc(),
  488.   iview_window_frame_arc(),
  489.   iview_window_paint_arc(),
  490.   iview_window_erase_poly(),
  491.   iview_window_frame_poly(),
  492.   iview_window_paint_poly(),
  493.   iview_window_text_ascent(),
  494.   iview_window_text_descent(), 
  495.   iview_window_text_width(),
  496.   iview_window_draw_string(),
  497.   iview_window_draw_string_up(),
  498.   iview_window_draw_text(),
  499.   iview_window_draw_text_up(),
  500.   iview_window_draw_symbol(),
  501.   iview_window_replace_symbol(),
  502.   iview_window_start_buffering(),
  503.   iview_window_buffer_to_screen(),
  504.   iview_window_clip_rect();
  505. extern int int decode_cursor();
  506. extern LVAL encode_cursor(),
  507.   iview_window_cursor(),
  508.   iview_window_reset_buffer(),
  509.   iview_window_dump_image(),
  510.   gw_make_color(),
  511.   gw_free_color(),
  512.   gw_make_cursor(),
  513.   gw_free_cursor();
  514. extern void decode_point_symbol();
  515. extern LVAL encode_point_symbol(),
  516.   gw_draw_bitmap();
  517.  
  518. /* xsnamelist.c */
  519. extern LVAL iview_list_allocate(), 
  520.   iview_list_add_points(),
  521.   iview_list_redraw_content(),
  522.   iview_list_adjust_screen_point(),
  523.   iview_list_adjust_points_in_rect(),
  524.   iview_list_mark_points_in_rect();
  525.  
  526. /* xsscatmat.c */
  527. extern LVAL iview_scatmat_allocate(),
  528.   iview_scatmat_add_points(),
  529.   iview_scatmat_add_lines(),
  530. #ifdef USESTRINGS
  531.   iview_scatmat_add_strings(),
  532. #endif /* USESTRINGS */
  533.   iview_scatmat_resize(),
  534.   iview_scatmat_redraw_content(),
  535.   iview_scatmat_click(),
  536.   iview_scatmat_motion(), 
  537.   iview_scatmat_adjust_screen(),
  538.   iview_scatmat_adjust_screen_point(),
  539.   iview_scatmat_adjust_points_in_rect(),
  540.   iview_scatmat_mark_points_in_rect();
  541.  
  542. /* xsspin.c */
  543. extern LVAL iview_spin_allocate(),
  544.   iview_spin_content_variables(),
  545.   iview_spin_depth_cuing(),
  546.   iview_spin_showing_axes(),
  547.   iview_spin_angle(), 
  548.   iview_spin_resize(),
  549.   iview_spin_draw_axes(),
  550.   iview_spin_redraw_content(),
  551.   iview_spin_rotate();
  552.  
  553. /* xsscatterplot.c */
  554. extern LVAL iview_plot2d_adjust_to_data();
  555.   iview_plot2d_add_points(),
  556.   iview_plot2d_add_lines();
  557. #ifdef USESTRINGS
  558. extern LVAL iview_plot2d_add_strings();
  559. #endif /* USESTRINGS */
  560.  
  561. /* maciviewwindow.c */
  562. extern char *IViewWindowWinInfo();
  563. extern WindowPtr IViewWindowNew();
  564.  
  565. /* maciviewwindow2.c */
  566. extern long IViewWindowGetObject();
  567.  
  568. /* macresizebrush.c */
  569. extern int IViewGetNewBrushSize();
  570.  
  571. #endif IVIEWEXT_H